﻿using l1cs.server.model.Instance;
using System;

namespace l1cs.server.model.classes
{

    class L1DarkElfClassFeature : L1ClassFeature
    {
        override
        public int getAcDefenseMax( int ac )
        {
            return ac / 4;
        }

        override
        public int getMagicLevel( int playerLevel )
        {
            return Math.Min( 2, playerLevel / 12 );
        }
    }
}